package cn.ainit.common;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Entity
@IdClass(DzEDITypeId.class)
@Table(name="SYS_DZ_EDI_TYPES")
public class DzEDIType  implements java.io.Serializable {

	private static final long serialVersionUID = -2164209374045188880L;
	// Fields    
	private String ediTypeId;
    private String code;
     private String typeEname;
     private String typeCname;
     private Short orderNum;
     private String codeValue;
     private String memo;

    /** default constructor */
    public DzEDIType() {
    }
    @Id
    @Column(name="EDI_TYPE_ID", nullable=false, length=32)
    public String getEdiTypeId() {
        return this.ediTypeId;
    }
    
    public void setEdiTypeId(String ediTypeId) {
        this.ediTypeId = ediTypeId;
    }

    @Id
    @Column(name="CODE", nullable=false, length=128)

    public String getCode() {
        return this.code;
    }
    
    public void setCode(String code) {
        this.code = code;
    }
    
    @Column(name="TYPE_ENAME", length=128)

    public String getTypeEname() {
        return this.typeEname;
    }
    
    public void setTypeEname(String typeEname) {
        this.typeEname = typeEname;
    }
    
    @Column(name="TYPE_CNAME", length=128)

    public String getTypeCname() {
        return this.typeCname;
    }
    
    public void setTypeCname(String typeCname) {
        this.typeCname = typeCname;
    }
    
    @Column(name="ORDER_NUM", precision=4, scale=0)

    public Short getOrderNum() {
        return this.orderNum;
    }
    
    public void setOrderNum(Short orderNum) {
        this.orderNum = orderNum;
    }
    
    @Column(name="CODE_VALUE", length=128)

    public String getCodeValue() {
        return this.codeValue;
    }
    
    public void setCodeValue(String codeValue) {
        this.codeValue = codeValue;
    }
    
    @Column(name="MEMO", length=200)

    public String getMemo() {
        return this.memo;
    }
    
    public void setMemo(String memo) {
        this.memo = memo;
    }
   








}